Functions

Link copied to clipboard
abstract fun blockingDownload()

Downloads the resource in scope in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .get. The method will finish with a void as soon as the whole download and processing is finished.

Link copied to clipboard
abstract fun blockingExists(): Boolean

Returns if the object exists in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .exists.

Link copied to clipboard
abstract fun blockingGet(): M?

Returns the object in a synchronous way. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .get.

Link copied to clipboard
abstract fun download(): Completable

Downloads the resource in scope in an asynchronous way. As soon as it's downloaded and processed, the Completable is completed.

Link copied to clipboard
abstract fun exists(): Single<Boolean>

Returns if the object exists in an asynchronous way, returning a Single<Boolean>.

Link copied to clipboard
abstract fun get(): Single<M?>

Returns the object in an asynchronous way, returning a Single<M>.